package com.clayecloud.common.mappers;

import com.clayecloud.common.entity.Visitor;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface VisitorMapper {
    int deleteByPrimaryKey(Long visitorId);

    int insert(Visitor record);

    int insertSelective(Visitor record);

    Visitor selectByPrimaryKey(Long visitorId);

    int updateByPrimaryKeySelective(Visitor record);

    int updateByPrimaryKey(Visitor record);

    int updateBatch(List<Visitor> list);

    int batchInsert(@Param("list") List<Visitor> list);

    List<Visitor> selectAll();

    List<Visitor> selectByUserID(Long userId);
}